<div class="right">
<%= link_to "new league",new_admin_league_path %>
</div>

<table class="lister">
<thead>
<tr>
<td>name</td>
<td>sport</td>
<td>country</td>
<td>last update</td>
<td>manage</td>
</tr>
</thead>
<tbody>
<%= render :partial=>"league",:collection=>@leagues %>
</tbody>
</table>
<%= will_paginate @leagues %>
